<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <link href="css/HomePage_ShuoShuo.css" rel="stylesheet" type="text/css">
        <title>JSP Page</title>
        
        <script>
        	$(document).ready(function() {
				//左边标签选中事件${empty img.imgPath}
        		if((${EIflog == null}) || (${EIflog == 0})){
        			
        			$(".boda_content_main_l_box1").load("/Homepage/showShuoshuokuang?userid="+${user.userId})
				}else if(${ EIflog == 1}){
					
					$(".boda_content_main_l_box1").load("/Homepage/showHomePageEF?userid="+${user.userId});
				}else if(${ EIflog == 2}){
					
					$(".boda_content_main_l_box1").load("/Homepage/showHomePageEF2?userid="+${user.userId});
				}
				
				
//				$(".boda_content_main_l_box1").load("EditInfo.jsp")

/*************************************页面跳转逻辑***************************************************************************************************/				
				
				$(".GeRenZiLiao").on("click",function(){
					
					$(".boda_content_main_l_box1").load("/Homepage/showHomePageEF?userid="+${user.userId});
					})
				
				
				
				$(".GuZhuTIaoZhuan").on("click",function(){
						//alert(${sessionScope.fleg1});
						window.location.href="/Homepage/showHomePage2?fleg1=8&userid="+${user.userId}
					})
			
				$(".FenSiTIaoZhuan").on("click",function(){
						window.location.href="/Homepage/showHomePage2?fleg1=9&userid="+${user.userId}
					})
				
				$(".GeRenweiBo").on("click",function(){
					window.location.href="/Homepage/showHomePage2?fleg1=0&userid="+${user.userId}
				})
				
				
				
/****************************************************************************************************************************************/				




			})
        </script>
        
        
    </head>
    <body>
    	
    	<div class="boda_content_main_r">
    						
    						<div class="GeRenAppBar">
    							<table class="tb_counter" cellspacing="0" cellpadding="0">
    								<tbody>
    								<tr>
    									<td class="GuZhuTIaoZhuan">
    										<strong class="W_f18">${user.userConcernnum }</strong>
    										<span class="S_txt2">关注</span>
    									</td>
    									<td class="FenSiTIaoZhuan">
    										<strong class="W_f18">${user.userFans }</strong>
    										<span class="S_txt2">粉丝</span>
    									</td class="GeRenweiBo">
    									<td>
    										<strong class="W_f18">${user.userWbnum }</strong>
    										<span class="S_txt2">微博</span>
    									</td>
    								</tr>
    								</tbody>
    							</table>
    						</div>
    						
    						<div class="GeRenAppBar_2_1"></div>
    						<div class="GeRenAppBar_2_2">
    							<img src="../../../common/img/PQ/geRenZILiao.png" />
    						</div>
    						<div class="GeRenAppBar_2_3">
    							<div class="GeRenZiLiao"><a>编辑个人资料 ></a></div>
    						</div>
    						
    				<!--
                    	****************************************************************************************************************************
                    -->			
    						<!--  
    						<div class="GeRenAppBar_3_1">
    							<a><h1>相册</h1></a>
    						</div>
    						<div class="GeRenAppBar_3_2">
    							<div class="GeRenAppBar_3_2_r">
    								<a><img src="img/90bb4c1djw1ekfkj7xa96j20c808cq4a.jpg" height="190px" width="190px" /></a>
    							</div>
    							<div class="GeRenAppBar_3_2_l">
    								<div class="GeRenAppBar_3_2_l_t">
    									<a><img src="img/6b888227jw1e5az2h9w3bj20c808hmyi.jpg" height="85.05px" width="120px"/></a>
    								</div>
    			
    							</div>
    						</div>
    						<div class="GeRenAppBar_3_3">
    							<div><a>查看更多 ></a></div>
    						</div>
    				
    				-->
    				<!--
                    	****************************************************************************************************************************
                    -->	
                    <c:forEach items="${GeRenweiboList}" var="weibo" end="0" >
    						<div class="GeRenAppBar_zanlan">
    							<div><h2>赞 </h2></div>
    						</div>
    						<div class="GeRenAppBar_4_2">
    							<div class="GeRenAppBar_4_2_r">
    								<c:forEach items="${weibo.imgList }" var="img" end="0" >
    								<c:choose>
										<c:when test="${empty img.imgPath}"></c:when>
										<c:otherwise>

												<img src="http://localhost:8082/serverpath${img.imgPath}" width="92px" height="92px"/>
										
										</c:otherwise>
									</c:choose>
    								</c:forEach>
    							</div>
    							<div class="GeRenAppBar_4_2_l">
    								<div class="GeRenAppBar_4_2_l_t">
    									<a>${weibo.user.userName}</a> <img  />
    								</div>
    								<div class="GeRenAppBar_4_2_l_d">
    									<a>${weibo.topic.topicName}&nbsp; ${weibo.weiboContent}</a>
    								</div>
    							</div>
    						
    						</div>
    						<div class="GeRenAppBar_4_3">
    							<div><a>查看更多 ></a></div>
    						</div>
    						</c:forEach>		
    					</div>
    		
    		
    		<!--
                ****************************************************************************************************************************
             -->				
    					<div class="boda_content_main_l">
    						
    						<div class="boda_content_main_l_AppBar">
    							<div class="boda_content_main_l_AppBar_list1"><a>全部</a></div>
    							<div class="boda_content_main_l_AppBar_list2"><img src="img/火灰.png" /><a>热门</a></div>
    							<div class="boda_content_main_l_AppBar_list3"><a>更多</a><i class="icon icon-chevron-down"></i></div>
    							
    						</div >
    						<div class="boda_content_main_l_YingChang" align="center">
    							<div><a>原创</a></div>
    							<div><a>图片</a></div>
    							<div><a>视频</a></div>
    							<div><a>音乐</a></div>
    							<div><a>文章</a></div>
    							<div><a>标签</a></div>
    							<div><a>查看权限</a></div>
    							
    						</div >
    						<!--可以循环的部分 -->
    						<div class="boda_content_main_l_box1">
    								
    						</div>
    						
    					</div>
    					
    				</div>
    	
 	</body>
</html>